You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <pages>
      <page ns="0" title="API" missing="" />
      <page pageid="1" ns="0" title="Main Page">
        <revisions>
          <rev user="Ziggy" timestamp="2017-10-20T21:07:21Z" comment="" contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">*Story and world material
**[[TwinWorld_origin|The origin story of TwinWorld]]
**[[Main Plot Arc]]
**[[Cosmos|How Earth and TwinWorld interact]]
**[[Magic|The magic system]]
**[[Terminology|Some terminology]]

*Meta pages
**[[Meta]]
**[[:category:website|Website stuff]]
**[[Publishing Order]]
**[[Graphics]]
**[[House_of_Hozz:Community_Portal|List of things that need doing, in case you're bored]]
**[[Storytelling]]
**[[Critiques]]

*Primary Categories
**[[:category:Characters|Characters]]
**[[:category:Artifacts|Artifacts]]
**[[:category:Storylines|Storylines]]
**[[:category:Locations|Locations]]

Important thoughts from:
[[Toad%27s_Thoughts|Toad]]

*Seedburst, a sci-fi wiki novel
**[[SeedburstPlot|Plot Overview]]
**[[:category:SeedburstTech|Technology and World-building]]
**[[:category:SeedburstNarrative|Narrative]]</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>